<h2>Registrieren</h2>

<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
  <%= error_messages! %>

  <p><%= f.label "Benutzername"%><br />
  <%= f.text_field :alias %></p>

  <p><%= f.label "Email"%><br />
  <%= f.text_field :email %></p>

  <p><%= f.label "Passwort"%><br />
  <%= f.password_field :password %></p>

  <p><%= f.label "Password bestätigen"%><br />
  <%= f.password_field :password_confirmation %></p>

  <p><%= f.submit "Registrieren" %></p>
<% end %>

<%= render :partial => "devise/shared/links" %>
